package com.pz.gulimall.common.to;

import lombok.Data;
import lombok.ToString;

import java.util.List;

@Data
public class LockStockResultTo {
    private Long skuId;
    private String orderSn;
    private Long orderId;
    private List<WareStockMeta> wareStockMetas;
    private Boolean locked;

    @Data
    @ToString
    public static class WareStockMeta {
        private Long wareId; //所在的仓库
        private Integer lockedNnm; //锁住的数量
    }
}
